package com.wxx.model;

import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Getter
@Setter
@Table(name = "dic_acl")
public class DicAcl {
    /**
     * 主键id
     */
    @Id
    @Column(name = "acl_id")
    private String aclId;

    /**
     * 图标
     */
    private String icon;

    /**
     * 权限名称
     */
    @Column(name = "url_name")
    private String urlName;

    /**
     * 权限访问地址
     */
    private String url;

    /**
     * 上级id 顶级为空
     */
    @Column(name = "parent_id")
    private String parentId;

    /**
     * 等级 1.顶级菜单 2.二级菜单 3.页面按钮
     */
    private Integer level;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * 链接类型 1.菜单 2.按钮
     */
    @Column(name = "url_type")
    private Integer urlType;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private Date createTime;

    /**
     * 修改时间
     */
    @Column(name = "update_time")
    private Date updateTime;

}